FROM python:2.7.13
RUN ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime && \
    pip install -i http://pypi.douban.com/simple/ --trusted-host pypi.douban.com flask gevent gunicorn sqlalchemy PyGreSQL &&  \
    sed -i 's/deb.debian.org/mirrors.ustc.edu.cn/g' /etc/apt/sources.list  &&  \
    apt-get update && apt-get install -y mysql-client libmysqlclient15-dev python-mysqldb && easy_install MySQL-Python \

